Skip to main content

Posts

Showing posts with the label Git

GIT Knowledge

#1  Git author Unknown Sets the name of the user  for all git instances on the system $ git config --global user.name "Firstname Lastname" $ git config --global user.email "your_email@youremail.com" [user] name = Bob Gilmore email = me@mydomain.com 3.3  get remote server  branch info 3.4  switch to branch #4  Git  fetch -- cache the info entered #6 Git check out #7 Git pull  you have to tell git where to pull from, in this case from the current directory/repository: git pull . master  but when working locally, you usually just call merge (pull internally calls merge): git merge master #8 git git-credentials #9 git merge Solution:  Or even better than running  git config , you can edit your  ~/.gitconfig  file directly. Look and see if there's a section for  [user]  with the relevant information. For example, my  ~/.gitconfig  has this... (There's no space in front of ...