Category "git"

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$@" }