Showing posts with label sourcecontrol. Show all posts
Showing posts with label sourcecontrol. Show all posts

Monday, September 5, 2016

Simple git workflow


Git commands

git <command> --help
git log
git status
git add <files/folders>
(undo add: git reset HEAD <files/folders>)
git commit -a --message=<msg>
git pull
git push

Useful Software

What
Link
Description
Recommended and official Git Bash console clienthttps://git-scm.com/downloadsWindows, OSX and Linux. Good to have this in addition to another client.
Recommended git GUIhttps://www.gitkraken.com/downloadWindows, OSX and Linux
Github desktophttps://desktop.github.com/Windows and OSX
Windows shell interface (like TortiseSvn)https://tortoisegit.org/Windows only
 

Friday, February 24, 2012

My hg/mercurial settings

My .hgignore for Visual Studio projects:


# use glob syntax
syntax: glob


# Ignore Visual Studio files
*.obj
*.exe
*.pdb
*.user
*.vspscc
*.bak
*.cache
*.ilk
*.log
*.sbr
*.scc
[Bb]in
[Dd]ebug*/
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml


#*.suo # depending on public/private repo