简体   繁体   中英

Using Git from the server to push to github

For this project I'm working on, I'm developing live on the server (not my decision) and I'd like to, if possible, push from the server to GitHub, is that possible? I can't seem to find any resources, maybe I'm just looking for the wrong thing!

If it's not possible are there any workarounds?

Thanks in Advance

I think you should just need to add your github repository as a remote in your repository, and then push to that remote.

All the commands you need are here: http://help.github.com/remotes/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM