levels/fetch.rb in githug-0.4.2 vs levels/fetch.rb in githug-0.4.3
- old
+ new
@@ -26,11 +26,11 @@
#adds remote repo
Dir.chdir cwd
`git remote add origin #{tmpdir}/.git`
`git fetch origin --quiet`
- `git branch -u origin/master master`
+ `git branch -u origin/master master 2> /dev/null`
Dir.chdir tmpdir
# create a new branch in the remote repo
`git checkout -b new_branch --quiet`
@@ -65,6 +65,6 @@
end
end
hint do
puts "Look up the 'git fetch' command"
-end
\ No newline at end of file
+end