Here i have some doubts about use of git / github…
1 - Can i upload/download many branches at once ( ex: you began a repo locally, with master and then create bugfix and develop branches, then you create a github repo and link to it using remote) ,… then i want to upload all the things i have locally to github.
I also need to do the reverse, example you create some branches and commits in github and want to download to your machine ( not cloning). Some kind of git pull all
2 - Is there a way to clone or fork the whole wiki of a repo ? Get a copy of it in some way
3 - Git is unable to push/pull empty folders ? I create an empy folder for css for example, just to fill it in the progress of the project, but i cant till i have a file inside ?
a stupid content tracker Quote: Paolo Perrota ‘How Git Works’
So in essence there’s no control on empty folders. If you do want to add one, there’s a few hacks out there that accomplish doing so. So far I’ve found adding an empty file called .gitkeep is doing the best trick in accomplishing this in a clean way.
With the default configuration that git clone and git remote add sets up for the remote, both git fetch and git pull will get all branches, putting them as remote-tracking branches in the remotes namespace (for example master branch in the remote repository origin gets fetched as origin/master).
git pull is git fetch followed by integration of specific branch, usually with git merge.