0%
Loading ...

Git – How to…

Table of Content:

1. Start Project from Scratch

    1. Create a Repo at BitBucket:

    1. Create a directory at local drive.
    2. Init Git at selected directory: Inside the directory right click and select “Git Init”.
    3. Add remote Repo to Local Directory: Inside the directory right click and select “Git GUI”.
    4. At Git select from Menu: Remote->Add.
    5. At the dialog, at name enter there a name for root branch and at the location enter there the address of remote repo.
    6. Move files into directory.
    7. Right click the directory and select “Git GUI”.
    8. At Git Gui, in order to commit, click on Stage Changed, then on Sign off, then on commit, then on Push:

2. Download a Repository and start working with it

    1. Right Click and select “Git Gui”.
    2. At Git select “Clone Existing Repository”

3. At Source location paste there the address of the Repo.

4. At Target Directory write there the target directory and click on clone.

5. Git will ask to enter password for Repository. You will have to enter the password 3 times.

 

External inks:

http://rogerdudler.github.io/git-guide/

Very good link to GIT video – how to use