![]() ![]() See 2.5 Git Basics - Working with Remotes for more information about setting up your remote and 3.5 Git Branching - Remote Branches for more information about linking your local branch to a remote branch. If you did not get results similar to the above, then either you have not yet configured your remote and/or your local working branch has no upstream branch. If you got results similar to the above, then you can just use git pull and git push to get new commits from/send new commits to your remote repo. Your branch is ahead of 'origin/' by X commits. Next, make sure that the branch you have has an upstream. ![]() But it's good to check just in case: > git remote -v Your remote is probably already configured, given that this is a clone. I highly recommend learning the CLI commands first, and then using GUI tools for the convenience. It's hard to understand what these tools are doing for you because of all the visual layers. I wasn't okay with that.Aside: Gitkraken and tools like it are useful, but the downside is that they often obscure what's actually going on. Well, I guess that there is an even more extreme step, in that you could delete the repo and re-clone but you would lose all local branches, stashes, and unpushed commits. Ok, if you are still having trouble and are CERTAIN that you do not need anything in your reflog, INCLUDING YOUR STASH, you can expire all of it now and clean up (garbage collect) the dangling refs: git reflog expire -expire=now -all To get my GitKraken working again, I need to go with the Nuclear Option. Those are temp files that should have been filled with data or deleted but were not, for. I also found some zero byte objects, which should not be. The corrupted lines in my log had loads of strange symbols and were like 4 time the length of the other lines. This is how we create a Git repository in GitHub using GitHub desktop application without writing any command. Before you can get started with an existing project repository in Git, you will first need to create a local copy of the project on your machine. All of the lines should look very much the same (from-hash, to-hash, timestamp, user, message, and so on). To create a new repository in GitKraken, select File > Init Repo from the main menu. (SSH Public key item) Paste your key into TFS server. Copy your gitkrakenrsa.pub key by press copy icon button. Solution: If you have any of the above in place try the following: Sign in with GitHub authentication. git/logs/refs/remotes/*/* for any lines that look extremely unusual. Generate GitKraken key, the step is Preference -> Authentication, choose General tab, and press Generate new Private/Public key 'Generate' button. A SolutionÄigging a little deeper I found that, apparently, something got corrupted in my reflog. Other tools (Giggle, gitg, git-gui, and the git CLI) all seemed to work just fine. Remove github folder, and restart gitkraken, you will have a chance to connect to GitHub again. ![]() However, after about a minute, it would unload the repo and start trying to load it again, but just hang trying to load. The simpliest solution is to remove /.gitkraken folder, but all cache would be removed, all repos open will be closed. It would keep presenting this "compatible repository" message even though it would load the repo and let me stage and browse commits. I just had this same issue with GitKraken. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |