Showing posts with label git. Show all posts
Showing posts with label git. Show all posts
Tuesday, September 13, 2016
Tuesday, May 5, 2015
Saturday, April 4, 2015
Git: How to add all untrackable file in command line?
You can try either of the following:
Reference: http://stackoverflow.com/questions/3498035/git-add-all-files-modified-deleted-and-untracked
git add -A
Warning, starting git 2.0 (mid 2013), this will always stage files on the all working tree.
If you want to stage files that are only under the current path of your working tree, then you need to use:
If you want to stage files that are only under the current path of your working tree, then you need to use:
$ git add -A .
Reference: http://stackoverflow.com/questions/3498035/git-add-all-files-modified-deleted-and-untracked
Sunday, March 29, 2015
How to resolve 500.19 error during running Bonobo Git server
1. Run the following command on the prompt:
>%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
(Reference: http://stackoverflow.com/questions/26633346/bonobo-git-server-http-error-500-19-code-0x80070021)
2-1. Windows 7
Run the following command on the prompt:
>Run %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir with administrator privileges
2-2. Windows 8 or higher
Add the Windows features: IIS -> WWWS -> Application Development Features -> ASP.NET 4.5
(Reference: https://groups.google.com/forum/#!topic/bonobo-git-server/V3UmArM0r4I)
>%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
(Reference: http://stackoverflow.com/questions/26633346/bonobo-git-server-http-error-500-19-code-0x80070021)
2-1. Windows 7
Run the following command on the prompt:
>Run %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir with administrator privileges
2-2. Windows 8 or higher
Add the Windows features: IIS -> WWWS -> Application Development Features -> ASP.NET 4.5
(Reference: https://groups.google.com/forum/#!topic/bonobo-git-server/V3UmArM0r4I)
Monday, March 9, 2015
If you want to specify the path to git.exe and are using GitHub for Windows
You can find it from the path like:
C:\Users\<username>\AppData\Local\GitHub\PortableGit_<numbersandletters>\bin\git.exe
Reference: http://stackoverflow.com/a/16127984/3534219
C:\Users\<username>\AppData\Local\GitHub\PortableGit_<numbersandletters>\bin\git.exe
Reference: http://stackoverflow.com/a/16127984/3534219
Thursday, February 5, 2015
How to sync git with a specific tag
While using source code from git, you might want to sync a specific version. Each version will be corresponding to a tag in git(e.g. 0.92 or 1.0.0), and you can sync git with a specific tag by using the command below:
<Git Source Path>$ git checkout <Tag Name>
Reference: http://stackoverflow.com/questions/791959/download-a-specific-tag-with-git
<Git Source Path>$ git checkout <Tag Name>
Reference: http://stackoverflow.com/questions/791959/download-a-specific-tag-with-git
Subscribe to:
Posts (Atom)