简体   繁体   中英

Git add files to repo with files in it already

How do I add a folder to my Github repository that already has a folder in it. I have been trying to do it but git comes with different kinds of errors. Can someone guide me through it?

Thanks

SUGGESTION:

  1. If you haven't already done so, "git clone" your GitHub remote repository to your local hard drive.

  2. In your local repository, you can add files and directories at will.

  3. Once you're ready, you can "git add ." and "git commit -m ...".

  4. And once you're done, you can "git push" back to GitHub

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