Due to some bad cherry-picking, my local Git repository is currently five commits ahead of the origin, and not in a good state. I want to get rid of all these c
I set up a PyCharm project /parent/project, that is managed by Mercurial at /parent/project/.hg. Independently of this project, /parent is managed by Git at /pa
During git rebase origin/development the following error message is shown from Git: fatal: refusing to merge unrelated histories Error redoing merge 1234deadbe
I am very bad at shell scripting (with bash), I am looking for a way to check if the current git branch is "x", and abort the script if it is not "x". #!/
Is it possible to push changes to a remote repository without commiting to the master branch? I use the remote repo just for deploying.
I want to upload a file on my desktop called 'hello.txt' to my git repository which has a release. How do I do this? I read the git documentation but it says so
I want to use something similar to: git checkout -- <path>/<file> but I want to checkout the file to some folder I choose, rather than the overwr
I want to use something similar to: git checkout -- <path>/<file> but I want to checkout the file to some folder I choose, rather than the overwr
When I tried to push my nodejs app to heroku with git push heroku master, i got this: Counting objects: 975, done. Delta compression using up to 2 threads. Com
I've renamed a couple of files using git mv, used git stash, had a quick look at HEAD (without changing it) then did git stash pop to get the whole lot back aga
Visual Studio 2022 not showing any change of file in git changes window, although there are some files updates are available. Whereas GIT GUI is showing all the
I have upgraded my Inteliij IDEA 2019.2 recently and I am getting below error, if I try to pull from my IDE Git Pull Failed: unable to access 'https://github.xx
With gitlab-ce-12.x, Geo requires the storage path to be hashed (https://docs.gitlab.com/ee/administration/repository_storage_types.html) For a given reposito
I have a project that has a submodule at lib/three20 My .gitmodule file looks like this: [submodule "lib/three20"] path = lib/three20 url = git://gith
I forked someone's repository on GitHub and would like to update my version with commits and updates made in the original repository. These were made after I fo
I have changed a few files name by de-capitalize the first letter, as in Name.jpg to name.jpg. Git does not recognize this changes and I had to delete the file
Question: How do I generate ssh private and public keys (to be used in GitHub/GitLab) using command line. The command below generates the error sh.exe": syntax
I'm developing certain scripts and small software packages which I also package as debian packages. The code is maintained in git and I create new release tarb
We are using Visual Studio Team Services w/ Git and VSTS Release Management. We are running a continuous delivery model using pull requests. So each merged pull
I'm getting this message when trying to rebase interactively using source tree. If no other git process is currently running, this probably means a git process