Git is a version control system for software development. It is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows. Git was initially designed and developed for Linux kernel development. As with most other distributed version control systems, every Git working directory is a full-fledged repository with complete history and full version-tracking capabilities, independent of network access or a central server.

Share tech news, updates, or what's on your mind.

Sign up to Post

I was browsing repositories and accidentally opened a repository in github desktop 1.0.12. Now I see no means of closing it. What's the mojo?
Free Tool: SSL Checker
LVL 11
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hi All,

I'm using visual studio code and using the integrated terminal.
When I create a directory and then type "git init", my new directory gets initialized.
But when I type "ls" to list the contents, I get the following error
" 'ls' is not recognized as an internal or external command, operable program or batch file. "

Am I missing something?  Thanks!
how to import simple git project to eclipse. any end to end examples on this. i know regular, maven projects import though.
 please advise
Does anybody know how to unlock a Microsoft Visual Basic solution with Windows Git... All of the files inside of the solution are currently checked in and are in read only. I am able to edit the source code, however when I debug the solution I cannot add any input, click on any buttons, open up any menus, or execute any other events on the Windows Forms. The solution is currently saved on a remote server, but when I clone the repository to a local server it does not allow me to work with the forms in Microsoft Visual Studio 2017. Here is a link with the problem I am having below. I am unable to manually checkout the files. I have created a new branch from the master branch and checked out the branch with a new name I made with Git, however it is still not unlocking the solution unfortunately... If anybody has the solution to this problem it would be much appreciated and I will keep working to try to solve the issue.

when running Jenkins build getting the above error.

Jenkins fetch data from bitbucket. in Jenkins scm section I gave bitbucket url and credentials .

how to fix this error ?
Hi Experts,

My team have a Github repository and I would like to fetch following data of all the pull requests merged by my developers :

1) Get list of all pull requests merged in repository
2) create date of every PR
3) date when PR is assigned to reviewer
4) merge date of every PR
5) name of developer who has created the PR

I would like to have final output to be either in xml or csv or excel format.

Thank you
I was asked to set up an aris game server. I am not sure where to start.  Here is the git hub page I was pointed to. I assume this is supposed to run on linux?  I know how to set up a linux server, create users, install apps, and a few other things.  Can anyone give me some direction with how I can get this up and running?

Here is the git hub page I was pointed to.
Hi All,

I am trying to run an angular application in cloud9.  The repository from Github that I forked can be found here.

I should be able to run the application in cloud 9 with the below command according to the author who has a course on pluralsight that I'm following.
ng serve -o

Open in new window

When I run it, I get the following
Angular Error
When I click on localhost:8080, it's not recognized.
not recognized
When Pull Requests are merged in Bitbucket stash, post commit hook of stash is triggering the jenkins jobs. We have multiple jobs for each service and have configured "Polling igores commits in certain paths" with "Included Regions" and "Excluded Regions".

When a merge commit is made to Project A, both Project A and Project B jobs are getting triggered in Jenkins.
But expected should be only to trigger Project A Job.

Project A Job is having below settings:
Included Regions: A/.*
Exclude Regions: B/.*

Project B Job is having below settings:
Included Regions: B/.*
Exclude Regions: A/.*

And with Poll SCM enabled and without any Schedule.

On further analysis, we found there is an unresolved bug in Jenkins Git plugin not supporting merge commits -

We had Git plugin version 3.5.1 installed originally and tried with latest version 3.6.4 as well but no luck.
In JENKINS-20389 ticket, there is a first comment where an user has mentioned "I'm having the exact same issue in the 2.0 git plugin. I have to downgrade to 1.4.0 because of this bug."

So we tried to install this 1.4.0 plugin as well but this has some features missing like Credentials options, Git Parameter options.. So Jenkins was not able to connect to our GIT respository. So unfortunately we couldn't check with this plugin version.

Now, we are stuck with this issue and need help to tackle …
IF  i have a multi node cluster up on ECS it seems to imply that I can create a service and scale across nodes , do you have a git hub example of some thing i can demo this with ?

do I have to set up a load balancer for this to work?

what do I have to do to get swarm like behavior?

Get expert help—faster!
LVL 11
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

I am trying to install OpenMS following the instructions at

I have run the following commands:
sudo apt-get install build-essential cmake autoconf patch libtool automake
    sudo apt-get install qt4-default libqtwebkit-dev
    sudo apt-get install libeigen3-dev libwildmagic-dev \
      libxerces-c-dev libboost-all-dev libsvn-dev libgsl-dev libbz2-dev
    # use from contrib for compatibility: SEQAN ; COINOR; ZLIB ; WILDMAGIC

# Assuming you are in ~/Development
git clone
mkdir contrib-build
cd contrib-build
cmake -DBUILD_TYPE=LIST ../contrib

cmake -DBUILD_TYPE=SEQAN ../contrib
cmake -DBUILD_TYPE=WILDMAGIC ../contrib
cmake -DBUILD_TYPE=EIGEN ../contrib

All these commands work fine, but the next one does not work:
cmake -DBUILD_TYPE=ALL -DNUMBER_OF_JOBS=4 ../contrib

I get the error:-- Configuring incomplete, errors occurred!
See also "/home/gcefalu/Development/contrib-build/CMakeFiles/CMakeOutput.log".

Is it possible that I m missing some linux library?
We've talked abutt his before. I got a Kata phone on Amazon and it is unlocked. Still not used though I traveled. I assume it will work.

So now looking on amazon for another low cost touch screen phone.
I see X brand dual sim, US unlocked.
I see X brand dual sim, international unlocked.

They do not explain US or International as to whether a US phone can be used in Asia or no it can not be used there.

I've thought to buy another Kata as a gift for someone.
They told me that they are not real strong on phones and features. Make and receive calls is their priority with a simple Nokia phone, no camera.

So the git does not have to be some extravagant phone since they said my Kata was far better than theirs.

I see a brand called BLU and I see some very unknown brands. A BLU seller on Ebay had sold 178 of them and had more. In 30 days 393 positive feedbacks and 15 negatives. Most negatives said phone did not work overseas or it was stated as new and was a used phone.

This is their phone and they are not a phone features person. So there are several phones under $50 on Amazon but this US - international creates questions.
As well as the veeeery unknown brands. I see BLU everywhere.
I am trying to install git and a bunch of other dependencies in Ubuntu17.10.  For that I use the command sudo apt-get install git and the same command for other software.  The response is "E: Package git has ot installation candidate. Is there any thing I have to add to the sources.fle?
Until know we developed SSRS reports in VS 2013, saved the Projects to a network fileshare and deployed to SQL Server.

I have upgraded my team to VS 2017 and want to deploy VSTS/GIT for version control etc. I am figuring it out (sort of). My local Git REPO is on local C drive, and we all push to the same Online repo. My question relates to publishing the changes to SQL server. How (and where?) would we do this from in this model?
I was looking for enabling ssh in powershell and that brought me to github

But I have no idea what to do with these files.

So my question is, what do I need to enable ssh in powershell. Do I need Visual studio and then import these files..
the build or the source?

I hope someone can point me in the right direction
I hope to post a sample application which displays a problem I am having and need to find what aspects I need to create for this. It would mainly be for posts on EE but could be used to share my code for other purposes.

Can you suggest one?

I create a GitGub account and use Git to put the latest version of my site to GitHub.

What if two people want to make an alteration to the code I post there? When someone makes a change, is there a way to auto-fork the repo?
Experts, please let me know if there is any free client utility that I can use for GitHub Enterprise. I think SourceTree supports, but not GitHub enterprise, please correct me if I am wrong. For some reasons, GitHub Desktop version can't be used. Please let me know if there are any other utilities that I can use to connect to my office GitHub repository.
I am trying to install Magento2.2 on my iMac. The Installer gets to Success - as per attached BUT the admin directory is not there!!

I have the correct version of php; Apache etc... and am installing the version for my imac.
I have tried loads of other suggestions on the web with git & composer but getting nowhere.

I've assumed it was a permissions problem so set all to 777 to avoid any directory creation issues in the script.
I've tried to work through the install scripts but cannot see where it is creating the admin directory anywhere!

Any ideas or suggestions are very welcome!

Had a fun time developing a nice little plugin for site this past week.
Displays color boxes based on hex color input.

Check it out git repo here:

I will be updating with a 'how-to-use' page soon.
Free Tool: IP Lookup
LVL 11
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Going through a tutorial on PHP Symfony and at one point it suggests setting up a git repository. Here's my CLI sequence...

This is supposed to be cake and ice cream. Navigate to the home directory, enter "git init" and then, BOOM.

Instead I get an error that says "the git command is not recognized..."

What am I missing?
What is the connection between a Netbeans 8.2 (php) project and a remote git repository? There is no git information in the project properties. I understand using Team menu as described in the docs. The confusion is how is a project logically linked to a remote repo? When I use the Team menu, does that operate on the current project only? What if there are two projects open at the same time?

I have one large project that encompasses an entire server and all its inter-related sub-domains, and one smaller project that is a single sub-domain of the large project. I need to have the larger project connected to one remote repo (on bitbucket), and the smaller project connected to a different remote repo (also on bitbucket). The whole project-to-repo connection is unclear.

Assuming I have to open one project at a time to have different repo's -
when I use Team -> Remote -> Clone the dialog displayed is confusing (see attached image file). This is supposed to be a remote repository (right?), so why are the examples and the Browse button all assuming a local file on my hard drive? Shouldn't it be a url like ?
Hi Experts,

I am new to Git and we use Bitbucket as a our Repo. I have a scenario based.

1) I have already taken a project i.e. Branch from Bitbucket and worked on it, for example
/c/Source/projectname (epic/xxx-119)

Open in new window

2) This Branch has now been pushed back to bitbucket and worked on by another developer

3) Meanwhile I continued working on specific files on my local copy or Branch while the other developer had been working on my pushed up branch

4) Developer has now finished and I need to pull down his work and merge with mine

what is the safest way to achieve step 4 without over writing those specific files?

Is it as easy as git bash from here---
==> c/Source/projectname (epic/xxx-119)

$ git checkout -b <branch name>
$ git pull origin <branch name>
$ git reset --hard origin/release/core

I feel this will overwrite my project.

alternatively... is it advisable to pull down the new branch onto a separate location on my drive and copy and paste only the files I need into my working folder

Kind Regards

I'm new to, and using Git. I have my remotes/origin branch of "master" that contains all production-ready code.

From "master", I create a new local branch called "Bug Fixes".

When I try to push code changes in Bug Fixes back to "master", I get this error every time:

Error encountered while pushing to the remote repository: Not a valid reference 'origin/master'

Maybe I'm not using this correctly? Can someone please advise?
I moved a bunch of smarty template files to a sub directory. When I issue git status it shows the new directories but also shows the old files deleted.

Is it safe to issue "git rm directory/oldfile.tpl" then "git add directory/directory2/newfile.tpl" ?
Hi, I'm using nunjucks, so every time I use gulp nunjucks, every page gets rewritten. So GIT sees that as a modification, and lists them as modified.

Just to be clearer, I have the GIT repo as the entire folder. Within the folder I have> pages, templates, templates/partials, SCSS, CSS, img, and also the pages that result from a gulp nunjucks.

I think what I want is to exclude those pages, the pages that are created, because they all get written again with the command.

Does any of this make sense? Should I put them into a different branch or something? I'm really new at GIT. Thanks for any and all advice.






Git is a version control system for software development. It is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows. Git was initially designed and developed for Linux kernel development. As with most other distributed version control systems, every Git working directory is a full-fledged repository with complete history and full version-tracking capabilities, independent of network access or a central server.

Top Experts In