-
Notifications
You must be signed in to change notification settings - Fork 0
superrxan/lua
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
[Note]
first create a remote branch on server and then push data to server from client
(1) "git remote add origin [email protected]:SuperRxan/lua.git"
---> note1: git@ instead of git://
note2: github.com:SuperRxan instead of github.com/SuperRxan
---> This operation add something in .git/config file
[remote "origin"]
url = [email protected]:SuperRxan/lua.git
fetch = +refs/heads/*:refs/remotes/origin/*
(2) "git push --set-upstream origin master"
---> This operation push data to server
---> This operation also config something in .git/config file
[branch "master"]
remote = origin
merge = refs/heads/master
which means:
Branch 'master' set up to track remote branch 'master' from 'origin'.
We can also use this command to set this config
"git branch -u origin/master"
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published