Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.77 KB

git.md

File metadata and controls

59 lines (44 loc) · 1.77 KB

<- back

Git on Windows

  1. Install Git on Windows
  2. Configure Git
  3. Set Git for local project (no server)
  4. Commits and branches
  5. References

1. Install Git on Windows

Download and install from https://gitforwindows.org/

2. Configure Git

Activate the color in Git. It should only be done once, and it helps the readability of the messages in the console.

git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto

Configure your nickname:

git config --global user.name "fauresystems"

Configure your email:

git config --global user.email dev@faure.systems

3. Local Git (no server)

Git server isn't required to control source code locally. Create new repository (folder managed with Git):

cd project_folder
git init

4. Commits and branches

Commits should be done several times a day, description to be a single line.

New branch is created when code modification will take a long time, then a merge is done (to master branch) when job is ready.

Quick guide (git - petit guide).

5. References

Author

Faure Systems (Oct 9th, 2019)