Click here to Skip to main content
15,891,033 members
Everything / DevOps / Git

Git

Git

Great Reads

by Akhil Mittal
Directly check in VS extension to Git repo and automatically deploy to staging server via continuous integration
by Enrique Albert
Azure WebSite and W8 Store App using SQL-CE, Azure SQL, Mobile Services, SignalR, EF, WebAPI and integration to Bing Maps
by Ivan Yakimov
In this article, I'll explain how to build a robust Git hooks system using C#. Also, I'll show how to use it to solve a couple of nasty problems with development collaboration.
by Mark Pelf
Comparison of Git functionality of Visual Studio 2022 to some other Git Gui clients

Latest Articles

by Modesty Zhang
Illuminate git internal on object model via a `git stash` implementation, including push, apply, pop, drop, list and clear, all with isomorphic-git
by Mike-MadBadger
A beginner's tour of some alternative options for Version Control Systems
by AmrDeveloper
Introduce GQL (A Git Query Language) to perform SQL like queries on .git files
by Mark Pelf
Using Git “skip-worktree” option can create problems with Git Pull

All Articles

Sort by Updated

Git 

29 Jan 2015 by 1&1 Internet
In this tutorial we will provide you with detailed instructions on how to install and setup Git and GitList for your Git repositories
30 Jun 2023 by _Maxxx_
I cloned a GitHb repository locally, and played with the project, and made some changes, with the intention of just using it myself.Now I would like to offer my changes to the owner.All the instructions I see tell me to Fork the repository, make changes, then make a pull request.But...
17 Oct 2014 by _Noctis_
Help you set and run gitstats on your windows
11 Apr 2022 by Admin BTA
Hi, This is a general question about how github can be used as a developer and as a user. I see interesting things on there, like the link below, but I am not sure how I can consume the code for myself, as in installing in in Mac OS X (there is...
1 May 2020 by Afzaal Ahmad Zeeshan
Quote: How can I connect to this source control by a local client Your Git client only needs to know the path to the Git directory (that .git directory in the folder). For local projects, you use the directory path to this. You can use Visual...
26 Dec 2021 by Afzaal Ahmad Zeeshan
Quote: getting data off of a network repository is knowledge I have yet to stumble upon Often the problem with getting the data from a remote repository is that you don't know enough about the "remote location" itself. For this, you would need...
5 Aug 2013 by Ahmad Abd-Elghany
i want to deal with my db as i deal with my app in git , how can i do that ?i know redgate source control for sqlserver but i want open source or free one .
21 Aug 2020 by Ahmed Bouchefra
Deleting remote and local branches from your Git repositories
25 Oct 2016 by Ahmed Khateeb
In this article, I will describe how to Create WordPress Bitnami VM, how to connect to VM, how to add Custom Domain to that VM and important steps to follow after fresh installation.
28 Dec 2019 by ahmed_sa
problem cannot check in only file i created or modified on source control git ? Hi i work on angular 7 project work on source control every time i finish my work i do git push origon master it push to all files on project i need only to push to specific files i modify or created Are this...
5 Jul 2020 by ahmed_sa
I'm beginner on git source control I have web application done by angular 7 exist on git source control AND I need to pull last changes to be same changes and files on local and server same . so I will write E:\PartDetails> git pull origin...
14 Feb 2014 by Ahsan98
I created an app on heroku (ahsansarena.herokuapp.com).....This app was created using git when i used heroku create it gave me an address of rocky-plains-3318 but i needed a different address so i renames my app through heroku.com but after this the url in git remained the same....Now whenever i...
6 Sep 2021 by Ajeet S 2021
I have complete software built on .net code and visual studio 19 ver that has both windows and web apps. On the folder level complete code is inside a C:\Code\source\v2.000 and BuildAll.sln that builds the complete software is...
13 Dec 2022 by Akhil Mittal
Directly check in VS extension to Git repo and automatically deploy to staging server via continuous integration
27 Nov 2019 by Akhil Mittal
This article will explain the concept of CI/CD, Jenkins, getting started with Jenkins, integrating and deploying an ASP.NET Core application locally and to the Azure Service as well. We’ll also cover topics like creating Azure service, creating Azure service principal, configuring Jenkins on Azure.
28 Nov 2019 by Akhil Mittal
In this article, we’ll learn the CI/CD of ASP.NET Core application on Azure using Jenkins Azure Pipeline.
28 Nov 2019 by Akhil Mittal
In this article, we’ll focus on Azure Active Directory and Service Principal and integrate Jenkins with Azure Service Principal before we move on to CI/CD of ASP.NET Core application on Azure using Jenkins Azure Pipeline.
24 Feb 2015 by Albert Holguin
Quote:1.Client's Private repository is there in github2.I've to take a clone of this into my Local server.3.Each developer in my team has to clone the project from the local server to their local computer.4.Each developer works on their local computer ,after they complete their...
18 Mar 2015 by Albert Holguin
I've used both and I must say... Gitlab is nicer than GitHub, but GitHub seems to be a lot more popular. With that said, you don't really have to use either one. Git is free and open source. If you need to collaborate with people, you just need to host some repositories on a server that everyone...
8 Jun 2015 by Albert Holguin
In order to host git repositories, you don't really need any "git server". You just need to be able to generate a git repository (from wherever you have git) and copy over the repository to your host.http://git-scm.com/book/ch4-2.html[^]Git itself doesn't handle permissions either, they're...
19 Oct 2015 by Albert Holguin
If you see the git protocol documentation[^], both would be valid ssh URLs. The first assumes your username is whatever you're logged in to the local machine as, the second uses "gitolite" as your username.In either case, if the repository is private or you don't have ssh access, you won't...
17 May 2021 by Aman Parmar
a)I want to connect to MongoDB b)Surround Mondodb with try-catch block c)catch exceptions. I have to use git to get the latest branch. I have assumed that the below command will run before MongoDB connection: source setenv.sh source...
12 Dec 2018 by Ameer Salah
Hello guys, could you please provide me suggestions of three way merge editor library? What I have tried: I have tried with mergely and codemirror but still have some problems.
15 Apr 2019 by Amir karim
i wanna to install laravel 5.2 project via git and this isnt work correctlly , it dosent make directory path. What I have tried: the error is : lang="text">Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested. how can i solve this?
28 Jul 2023 by AmrDeveloper
Introduce GQL (A Git Query Language) to perform SQL like queries on .git files
19 Mar 2015 by Ananda_mr
Hi,Please suggest how to setup GIT server on Windows and access from the developers of the team. How to handle Users management.Regards,Anand
19 Dec 2012 by Anders Gustafsson, Cureos
Tricks to facilitate management system identification in a multi-SCM environment.
24 Nov 2023 by Andre Oosthuizen
I had a similar issue a while back and we made use of 'SSH keys' for authentication - 1) Make sure that each of your users has a 'SSH key pair'. You can generate one with 'ssh-keygen' if they don't have it, many samples to be found at - using...
16 Mar 2012 by Andy411
I'm using git but not hierarchical but I've read something about it.I think you are looking for this: Distributed WorkflowsTry goolge for git lieutenant
19 Nov 2014 by ashish__shukla
You can use GIT on its own for source code management.You can also use TFS for the same.So TFS is not mandatory while using GIT.
10 Oct 2016 by Ashley Davis
A look at version control from the game developers perspective
29 May 2012 by AumSingh
I am very new to the GIT world and most of the concept is alien to me. I followed instructions here http://gitscc.codeplex.com/wikipage?title=Installation&referringTitle=Documentation and installed "Git Source Control Provider" with vs 2010. Git Extension and TortoiseGit has also been installed...
27 Jun 2012 by AumSingh
I found this post amazingly helpful, http://codeasp.net/blogs/vivek_iit/microsoft-net/1881/how-to-user-github-with-visual-studio.It explains the whole process clearly. Apart the local repo setting I also had problem with SSH key. This post help me get over with all problems. Now everything...
24 Oct 2016 by B.O.B.
Tool to help merge ResX files while doing a merge in GitHub
3 Aug 2019 by Benktesh Sharma
How to combine multiple git commits into a single commit in GIT using Squash
6 Aug 2019 by Benktesh Sharma
Have you ever had a need to clean up all the history in the git repository? I will show how to clean the commit history in git using tools and technique using command lines.
14 Dec 2012 by boehsermoe
Is it a good idea manage difference edition with my versioncontrol (git) andcreate one branch for my 'pro' other for my 'free' edition?For bigfixes i could merge my bugfix-branch into free and pro branch and some features only merge into pro.Or is there are a better way?
20 Sep 2014 by Brady Kelly
My project went south, so I created a branch called F*****UP. Now that is the good branch, so I would like to back up Master, and make F*****UP the master branch again. How to I do this on the Git command line? Git for Windows that is.
22 Jan 2012 by Bun Leap_kh
hi every one!I have a problem with GIT.I install GIT on CentOS (5.x) Server. It's ok when I create repository.But when I clone a project on the client, it display error message:error: The requested URL returned error: 500 while accessing...
2 Apr 2013 by Carlos1907
Splitting repository and remove folders preserving history
16 Jul 2020 by cassert24
A single-script git bisection utility wrapper for memory corruption bugs
25 Mar 2012 by CGN007
I'm new to git.I've to set up my project in Git.The workflow is as follows.1.Client's Private repository is there in github2.I've to take a clone of this into my Local server.3.Each developer in my team has to clone the project from the local server to their local computer.4.Each...
2 Feb 2015 by CHill60
I think you really ought to check out the GitHub community with this one ... e.g. https://help.github.com/articles/https-cloning-errors/[^]
28 Jun 2019 by CHill60
Quote: I know there will be a merge conflict when I will push and pull. Then resolve that conflict! Because you didn't follow the correct procedure you just have to do the work manually instead. 1. Take a full backup of your code somewhere. Renaming the project might also be a good idea but...
7 Sep 2017 by Christian Specht
How to delete an SSH key from Git Gui
11 Feb 2021 by Cmgray74
All, I find myself today, thanks to Covid-19, in a small development group (4 max but currently 2 as someone put there notice in and a guy retired) without Source Control of any kind. (Zip/Nada/Nothing) They have a mainframe that is basically on...
5 Aug 2013 by Code-Hunt
add-version-control-to-existin...
22 Aug 2015 by codegeekalpha
I have to access personal git repository at the university . I have been asked to Generate SSH key.i am using this command to generate SSH keyssh-keygen -t rsa -b 4096 -C "your_email@example.com"I want to ask Can i use username instead of email for this command...
5 Sep 2015 by codegeekalpha
i am getting an error while trying to commit in git. what is the reason . i think everything is ok.farooq@ubuntu:~/workspace/abproject$ git commit -m “First commit of assignment2_farooq” error: pathspec 'commit' did not match any file(s) known to git. error: pathspec 'of' did not match any...
19 Oct 2015 by codegeekalpha
I am in confusion about the Exact Git URLI need git URL but i don't know which one of these is git URL . I cannot access these because repository is private.Can anyone tell me which is git URL from these...
19 Jun 2021 by Coder2195Text
I have a gitattributes file here, used for linguist-vendored GitHub - Coder2195Text/space-chaos: A little space game.[^] My code is falsely reporting the stats, due to heavy amounts of node modules and source code. All I want it to report is...
3 Jul 2018 by CodingLover
I've folders (documents) of same name in different folder paths of the source structure. Some I want to avoid add into the Git repo while other to add. If I put something like below everything removed. documents/ What I have tried: So I've added multiple paths, and there a lot. ...
25 Jun 2018 by columbos14927
Hi, I'm merging branch "feature_1" into current branch "master". After executing: "git merge feature_1" command I'm getting several unmerged paths, those are conflicts that needed to be resolved manually. I would like to write a python script that will go over the unmerged paths and extract the...
18 Jun 2014 by DamithSL
install Git Source Control Provider [^]
6 Jul 2022 by dan!sh
I was trying to create a little repository for code samples so I created an account at GIT hub. I have VS 2015 so I had to install GIT Hub extension to it. When I push the code from VS2015, I see that it is pushed under my another account with...
6 Jul 2022 by dan!sh
Setting on team explorer window allowed me to edit the email and user details.
11 Jul 2018 by Dar Brett
The context here is that we have some very large code bases split into thousands of files, the default setup is that real time virus scanning is enforced on all systems. The real time scanning easily balloons out builds to take several minutes in some cases rather than less than a minute when...
11 Jul 2015 by Dariush Tasdighi
How to add source codes (solution) to GIT source control and publish it in www.VisualStudio.com site.
5 Oct 2016 by dileep
Build Using NPM and Git
5 Aug 2016 by Dinand.dotnet
Use Git with cloudforge, and switch from SVN to Git
31 Oct 2018 by Dirk Bahle
I do not know about this rule but you should check out the Settings section in your GitHub project - there are actually settings that can be used to guard against commiting to the master branch. There are branch protection rules that you can use to guard individual branches: Defining the...
2 Oct 2022 by Divya Ulasala
This blog entry explains how to set up a different username and email id for a personal project.
2 Feb 2023 by Divya Ulasala
Check out remote Git branch that does not exist on local clone
26 Apr 2016 by dkgawriya21
bash: export: `Files/Skype/Phone:/c/Program': not a valid identifierbash: export: `Files/Microsoft': not a valid identifierbash: export: `Server/100/Tools/Binn:/c/Program': not a valid identifierbash: export: `Files/Microsoft': not a valid identifierbash: export:...
26 Dec 2015 by Dmitry Handin
This tip describes steps for creating git repository without git init command.
25 Jan 2021 by DoingWork
Hi Guys I want to Install Gitlab server on Windows 10 that can be use only at local network. Help Required. What I have tried: I only know the use of Gitlab Client working. but now start working first time on gitlab server
9 Feb 2021 by DoingWork
Dear Friends I want to change my Gitlab homepage to MyGitlab.com from localhost. Please help me What I have tried: I have installed Gitlab CE server on Ubuntu 20.04 at Virtual machine. Now gitlab's homepage can be accessed and admin login...
9 Feb 2021 by DoingWork
I have found solution myself for this question. Run this command on Terminal sudo vim /etc/gitlab/gitlab.rb and Changed this Line external_url "https://gitlab.tecadmin.net"
5 Mar 2015 by Doug Vanderweide
You're not being really clear on how this code is managed when you develop it, but I am presuming you are using Visual Studio 2013 and want to add both solutions under the same git repo.Short answer is, that can't be done. Not if you are going to manage your code in Visual Studio 2013,...
24 Jun 2013 by Enrique Albert
Azure WebSite and W8 Store App using SQL-CE, Azure SQL, Mobile Services, SignalR, EF, WebAPI and integration to Bing Maps
30 Nov 2022 by Eva Smirnova
When I call git init, the vscode folder does not appear, why is this happening? What I have tried: after i execute git init command in terminal it outputs this (venv) PS C:\Users\user\Desktop\forum_prj> git init Reinitialized existing...
17 Feb 2015 by Feature Extraction
Git Branching Essentials
4 Mar 2019 by Florian Rappl
We look at Azure Pipelines and how it can be used to add a flexible CI/CD process for any GitHub repository within minutes.