Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === On the server ===
- $ mkdir myrepo.git
- $ cd myrepo.git
- $ git init --bare
- === On local machine ===
- $ git clone server:myrepo.git
- ... edits/commits done here ...
- $ git branch jobs
- $ git checkout jobs
- ... edits and commits done here ...
- $ git commit -a
- $ git checkout master
- $ git merge jobs
- $ git branch -d jobs
- $ git push
- === Creating a clone ===
- $ git clone myserver:myrepo.git myrepo2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement