Category "git"

Pull new updates from original GitHub repository into forked GitHub repository

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

How do I commit case-sensitive only filename changes in Git?

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

How to generate ssh keys (for github)

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

Versioning of debian packaging Information

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

VSTS: How to get all linked work items since last successful release to production?

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

Unable to create '/git/index.lock': File exists - but it doesn't

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

Remove a file from the list that will be committed

I have a list of changed files in git repository. There is one file I don't wanna commit for the current moment. Can I do: git commit -a To commit all files

How to clone git repository with specific revision/changeset?

How can I clone git repository with specific revision, something like I usually do in Mercurial: hg clone -r 3 /path/to/repository

Git push hangs when pushing to Github?

Git push hangs everytime I try to push to github. I am using Cygwin and Windows 7. Git functions fine locally tracking branches, providing status, setting globa

git config: remote.<name>.fetch - is it possible to set up exceptions?

It is possible to set up rules like fetch = +refs/heads/*:refs/remotes/origin/* to fetch all branches matching certain glob. But is it possible to exclude some

Differences between git pull origin master & git pull origin/master

What is the difference between git pull origin master and git pull origin/master ?

VS Code / Bitbucket / SSH - Permission denied (publickey)

I'm trying to access bitbucket via ssh from vscode but always get permission denied (publickey). SSH key(s) are located under ~\.ssh\, public key(s) are corre

How can I 'git clone' from another machine?

On one machine (IP address 192.168.1.2), I create a Git repository by $ cd /home/hap/working $ git init $ (add some files) $ git add . $ git commit -m 'Initial

Given long git commit how to safely get short commit

If I query the bitbucket api for commits, I get the long version: bitbucket_curl(){ curl -H 'Authorization:Basic YW1JyKg==' "https://api.bitbucket.org$@" }

Given long git commit how to safely get short commit

If I query the bitbucket api for commits, I get the long version: bitbucket_curl(){ curl -H 'Authorization:Basic YW1JyKg==' "https://api.bitbucket.org$@" }

Given long git commit how to safely get short commit

If I query the bitbucket api for commits, I get the long version: bitbucket_curl(){ curl -H 'Authorization:Basic YW1JyKg==' "https://api.bitbucket.org$@" }