Search Result for: GIT Category

Articles

Setting the username and email for your GIT Repo

Use the following code to set the default username for your git repo git config --global user.name "jfernandez" and the following to check: git config --global user.name Use the
Read More

GIT Amend Previous Commit

Using this command will let you amend your very last
Read More

Adding SSH Key in BitBucket repository in 2 minutes

Use the following steps to establish a connection with a BitBucket repo using an SSH
Read More

Branch on ‘Origin/master’ has diverged from local branch

if you have revered a commit and want the remote branch to reflect your revert + latest commits use this bit of code git push -f origin master Note that this will reset your
Read More

What is your current GIT Remote ?

To identify your current GIT remote just use: git remote
Read More

GIT Problem / Error : ‘please enter a commit message to explain why this merge is necessary …’

To handle the following problem use the following steps. press "i" write your merge message press "esc" write ":wq" then press
Read More

Create a new remote URL origin

Use the following code to add a new remote URL origin for your
Read More

Check git Version

To get the version of git you are running
Read More

Undo GIT Add

If you would like to un-stage a file that you have just added in git simply use this
Read More