diff --git a/tools/git.sh b/tools/git.sh index c0154f0..bbbd86b 100644 --- a/tools/git.sh +++ b/tools/git.sh @@ -1,4 +1,5 @@ git init # initiates git in the current directory +git remote add origin https://github.com/repo_name.git # add remote reposiory git clone
# creates a git repo from given address (get the address from your git-server) git clone
-b # clones a git repo from the address into the given directory and checkout's the given branch git clone
-b --single-branch # Clones a single branch