Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium







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

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!
Receive 1:1 tech help
LVL 11
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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
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?

I am trying to install OpenMS following the instructions at http://ftp.mi.fu-berlin.de/pub/OpenMS/release-documentation/html/install_linux.html.

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  https://github.com/OpenMS/contrib.git
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?
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 GitHub.com, 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.
[Webinar On Demand] Database Backup and Recovery
LVL 11
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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?
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.
I am the only one with Admin rights to BitBucket and want to be sure, for the moment, only I can merge a Pull Request.

Please explain how to configure this...

I just need to be alerted (via email) when a Pull Request is created.


I am using Bitbucket to store our source code for the website. My plan is to push the code from bitbucket to the server so that i don't have to log in to the webserver each time a change in the code is made. I am completely new to this and i'm having trouble finding the information that i need. I've looked at pipelines and webhooks. I think that webhooks is what i need to peform this action although im not sure if it is even possible.

Can someone tell me what needs to be done to make this happen?
Hi guys,

Although I find it hard to believe that what I'm looking for even exists, I'll still try my luck.

Is there any Linux Based IDE with native support for bash scripting?
(I don't only mean things like syntax highlighting but also auto completion and etc.) and preferably with git support.

Is there anyway to get a compiled bytecode from a bash script? I know about SHC but it doesn't really help becasue reversing it is way to easy - there's already a ready shell script to reverse the SHC compilation called UNSHC.
Hire Technology Freelancers with Gigs
LVL 11
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.


I have a simple Hello World program written in Eclipse Neon.  I am integrating Eclipse with Github and it is giving following error. The Pull works from the repo.  What could be wrong here?

Thank you
We use Subversion where I work and we're moving to VS 2017 as well. So I stood up 2017 and committed a solution to source control. The problem is that I had forgotten to hook up Subversion (SVN) and so VS used Git instead (I guess that's the default). Anyway, it packed all my code into a couple Git-files and started asking me to make a Git account. I don't really want to make a Git account and although I did manage to find a copy of my code, I'd rather not port all of it over to a new project if I can avoid it. If anyone knows how I can just tell Git to go away and put my solution back the way it found it, I'd really appreciate it.

Thanks in advance.
I've been using Visual Studio Online for some time with a TFS-style repository.  I've started a new job and am creating a new repository for our small time and want to use git for the first time.  I'm really struggling with importing existing projects to this git style repository and then sharing it with team members. Are there any primers out there for users like myself getting to grips with git in a visual studio environment?

In case it's relevant, we are using VS 2015.
I run below command

git checkout migrate-5456
git merge master 
git diff master --name-only --

Open in new window

I would like to understand what does '--' do here? Thanks
I made the mistake of making some changes on my local "develop" branch. This branch is set up so if I do "git pull," it will align with the "develop" branch on the main server.

After realizing my mistake, I went ahead and committed my changes, then I renamed the "develop" branch to management/server. My rationale was that I change the name of the branch, create a new branch called "develop" and do a "git pull" to grab all of the files from upstream and I would be good to go. When I did that, however, I got an error that said:

"There is no tracking information for the current branch. Please specify which branch you want to merge with."

Not sure what that meant, but I went online and found a command that seemed to do the trick. I did this:

git branch -u upstream/develop

Thing is, my interface says I'm still one commit ahead of upstream. I want to overwrite what I've got on my local "develop" branch with the "develop" branch that's sitting on the main server.

Please help me find out Github api to fetch the number of collaborators for a git repo.







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