git - How do I set up NetBeans 7 to download the contents of a GitHub repository? -
apologies newbishness of question. connect , download contents of github repository, specifically: https://github.com/residual/residual (with repository uri being: https://github.com/residual/residual.git).
i have initialized root path repository created, , fed in uri, when click fetch, is:
==[ide]== 21-jul-2011 23:02:51 connecting ==[ide]== 21-jul-2011 23:02:51 connecting finished. ==[ide]== 21-jul-2011 23:05:29 fetching... git fetch https://github.com/residual/residual.git +refs/heads/master:refs/remotes/origin/master no update ==[ide]== 21-jul-2011 23:05:30 fetching... finished.
which sounds promising except in netbeans repository looks (i.e. apparently empty):
how files repository (i want edit them locally, have latest version available -- not commit anything) , use them in c++ project?
again, apologies newb question. can't seem find guides getting , running, despite having had no problems running svn , sourcesafe version control in past.
thanks.
when "fetch", populate "remotes" part of refs (references) of empty git repo.
in other words, don't modify of local files (which don't have now, since repo empty)
cf. visual reference git, in order see how git fetch not modify local files.
once fetched, need checkout branch based on 1 of remotes branches have fetched.
another option have been clone directly repo.
your local repo wouldn't empty, , set right away on branch (generally default master
).
Comments
Post a Comment