github-for-windows

Git: says origin already exists on “NEW” (init) repository, using shell but installed Github for Windows

天大地大妈咪最大 提交于 2019-12-03 03:12:03
问题 I installed Git for Windows, although I am using the shell not the Windows interface. If I do a git init , and then try and do a git remote add origin git@github.com:someuser/testme.git I get the following error fatal: remote origin already exists. So I do a git remote -v and it returns the following origin upstream So it appears its there but has no URL set, I don't understand why it's there? If I do a git remote rm origin it produces this error: Could not remove config section 'remote

How to use posh-git that comes with GitHub for Windows from custom shell?

烂漫一生 提交于 2019-12-03 01:32:48
问题 Installing GitHub for Windows is a nice way to get at once beginner's git Windows app, msysgit and posh-git - but you can only start the git shell with posh-git by calling "GitHub.appref-ms --open-shell". What I want to do, is to start a console, load powershell, and use posh-git that comes with Github for Windows - but I can't figure a way to load it into the powershell. Update: I do not want to install Git for Windows separately, since msysgit is already installed. I was able to make some

How to change git shell's start directory in windows 7

会有一股神秘感。 提交于 2019-12-03 00:59:47
I downloaded and installed the programs offered by GitHub including Git Shell. The problem is that I want to set up the home directory of the Git Shell program to a custom one, but I don't know how to do that. I tried changing the "start in" field from the properties menu of the Git Shell shortcut but it didn't work. Can anybody please give me some information on how to change the home directory of the Git Shell to a custom one? 1.Open GitHub Windows client. 2.Click tools (at the top of the window) and select 'Options'. 3.There you will find 'default storage location'. This is where Git Shell

Unable to install GitHub for Windows

两盒软妹~` 提交于 2019-12-02 23:34:20
I'm trying to install github for windows when I received this error: Application cannot be started. Contact the application vendor. The error log produced this: PLATFORM VERSION INFO Windows : 6.2.9200.0 (Win32NT) Common Language Runtime : 4.0.30319.34014 System.Deployment.dll : 4.0.30319.33440 built by: FX45W81RTMREL clr.dll : 4.0.30319.34014 built by: FX45W81RTMGDR dfdll.dll : 4.0.30319.33440 built by: FX45W81RTMREL dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623) SOURCES Deployment url : http://github-windows.s3.amazonaws.com/GitHub.application ERROR SUMMARY Below is a summary of the

How do I delete a local branch on Github Desktop?

柔情痞子 提交于 2019-12-02 19:56:10
Last week I upgraded my Windows Github to Github Desktop . It is certainly a lot faster than that last update they made for Github Windows. It also has a nice little visual timeline of commits and maybe I am being dumb, but the ability to delete local branches seems to be gone . Before it was under “manage branches” (also gone). Any idea? Update: In v3.0.5 they have added the option to delete local branches from the gear menu. ProblemsOfSumit On Mac OSX: for everyone having this problem with the latest version: Select the branch that you want to delete, go to "Branch" -> "Delete Branch" On

What is the meaning of revert this commit and roll back this commit in GitHub for Windows?

依然范特西╮ 提交于 2019-12-02 17:51:59
Github for Windows features these two commands described as: revert this commit - create a new commit that reverts the changes of this commit rollback this commit - roll back this commit leaving all changes made in this and later commits in your working directory Could you explain the exact meaning of these two commands and how they can be used. Specifically I fail to understand what is the purpose of the second one. It makes no sense to me. Is it possible to revert to a previous commit check it out and if I don't like it, go back to where it was initially? This gui seems to feature a very

How to use posh-git that comes with GitHub for Windows from custom shell?

强颜欢笑 提交于 2019-12-02 16:47:38
Installing GitHub for Windows is a nice way to get at once beginner's git Windows app, msysgit and posh-git - but you can only start the git shell with posh-git by calling "GitHub.appref-ms --open-shell". What I want to do, is to start a console, load powershell, and use posh-git that comes with Github for Windows - but I can't figure a way to load it into the powershell. Update: I do not want to install Git for Windows separately, since msysgit is already installed. I was able to make some progress by calling the shell1.ps1 script from AppData\Local\Github folder - and it does let me invoke

Using Github for Windows to work with own private Git through SSH

走远了吗. 提交于 2019-12-02 16:22:08
Right now, I'm using msysgit to work with my own private repositories stored on a ec2 Amazon Cloud Server using SSH. Until now, I've been able to successfully connect to those repositories through Git Bash (creating the ssh-rsa public and private key with ssh-keygen, adding the public key to the authorized_servers on the remote machine), so I can clone, push, pull, get through the CLI. Now, I've seen Github for Windows, and I gotta say, it is a beautiful piece of software. Since it is based on msysgit, I was wondering that if it is possible to setup Github for Windows to connect, clone and

Git Error : [remote rejected] master -> master (missing necessary objects)

倾然丶 夕夏残阳落幕 提交于 2019-12-01 22:08:04
问题 I've a rather worrying problem with git. A few days ago I was committing some changes when the server git was on blue screened. (We think it was actually caused by git.) Since then I've not been able to commit any changes to the repository, while others can. I can no longer commit changes to the files I was committing when the server crashed, however I can commit changes to other files. I've tried creating a fresh directory and cloning into it. As well as a git stash , git pull --rebase , git

Git Error : [remote rejected] master -> master (missing necessary objects)

只愿长相守 提交于 2019-12-01 21:11:48
I've a rather worrying problem with git. A few days ago I was committing some changes when the server git was on blue screened. (We think it was actually caused by git.) Since then I've not been able to commit any changes to the repository, while others can. I can no longer commit changes to the files I was committing when the server crashed, however I can commit changes to other files. I've tried creating a fresh directory and cloning into it. As well as a git stash , git pull --rebase , git stash apply . No matter what, the server is returning an error when I now try to commit the files I