![]() After you run this command you can see the process of download (near 9000 object with ~ "summary size near 530MB" with GitHub speed near 30KiB/s). ![]() git & other the root folder of Unit project. ![]() Done Suggested by: Aaron Walker (15 Jun, '21) Upvoted: 04 Apr Comments: 5. to open the current directory in GitKraken. Something like gitkraken /home/dev/project or gitkraken. In subfolder OpenProject will be put folder. Upvote It would be really cool if we could have an easy way of opening GitKraken from the command line. The next command create the local copy of repository ( branch main only) from your own fork of the Main Repository and put it into subfolder OpenProject in current directory Going to folder where you want to place local copy of repo (don't forget Bash use the Unix style folder & commands) You can run Git terminal by Git Bash which install with most Git GUI (in Windows it commonly at "C:\Program Files\Git) Now, I recommend to clone repo by terminal commands: It is related to the current repository size of this project (include different branches). Now if you try to clone by any GUI you can see some freezing without any results in your local directory. Near two month early, when you cloned project by any git GUI it finished till 1-3 minutes. Once ready, you open a PR on Github, knowing that the changes you are sending are up to date with the latest on our master, which means it's going to be easier for me to merge themįor newbie - who begin now work with OpenProject (make fetch & first clone of repo). Now you can pull from the original UnityTechnologies:master, and merge the new stuff into your fran_m:master or fran_m:bugfix, depending on which one you are using (8). To do that, you need to add the original repo (not your forked one) as a remote in your desktop application (3). If for any reason, the origin master updates (for instance, we merge another PR into it) it would be great if you take those changes before opening a PR. ![]() At this point you could also branch locally, say create a fran_m:bugfix branch. Then you open whatever application you use (Github Desktop, SourceTree, Fork, Gitkraken, or just the command line) and you pull your fork's master, say fran_m:master and you start working there. Let's say that our repo and branch are UnityTechnologies:master. I will add numbers in my explanation referring to the paragraphs in that guide. Click to expand.No, you don't need to delete the fork.īut I can also explain briefly. (use "git pull" to merge the remote branch into yours) Your branch and 'origin/master' have diverged,Īnd have 1 and 1 different commit each, respectively. Please, fix them up in the work tree, and then use 'git add/rm 'Īs appropriate to mark resolution and make a commit. Pull is not possible because you have unmerged files. Master pushes to master (local out of date)įrom within dailyprogrammer and I get the message U Week10-Folder All ok so far.ģ) I cd into dailyprogrammer, and do a git remote show origin I'll describe everything step by step:ġ) I have cleaned my local 'dailyprogrammer', so now it doesn't have the 'Week10-Folder' in it.Ģ) The remote repo 'dailyprogrammer', though, has the folder 'Week10-Folder' in it with a readme that I had created when creating the folder. show origin', everything just tells me that the remote repo doesn't exist, when in fact I am just copying hte URL from github. Can someone help me out? I tried removing the damn thing by rm -rf, but that showed the same message again. I get the message fatal: repository '' not found However, when I type git remote show origin ![]() Then I want to sync this guy with the remote repo so I do git remote set-url origin Īnd no message appears. So I go to the dailyprogrammer folder in my laptop, then do a 'mkdir Week10-Folder'. Now I wanted to clone this guy into my local machine. So on github, my 'dailyprogrammer' repo now has a folder, 'Week10-Folder', with a readme.md in it. I read on stackoverflow this was how one created a folder inside a gtihub repo. So I went to github/MyAccount/dailyprogrammer, clicked on 'New File', and then in the name, typed in the folder I wanted to create ('Week10-Folder'), then added a slash and a readme file name. I thought I should have a folder for each challenge (instead of have all files floating around in one big folder). My goal was to reorganize this a bit better. I had a git repo, called 'dailyprogrammer', and had lots of files in it (one for each /r/dailyprogrammer challenge I did). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |