I notice that github and gitlab have different ways of pushing files to a 
repository.

Github

git add .

git commit -m "First commit"

git push origin master


Gitlab

git add .
git commit -m "first commit"
git push -u origin master

What's the difference between git push origin master and git push -u origin 
master?

What does the -u do?

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/346ac7b1-ec5b-41f6-a3ff-f1cacb22a610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to