Tag: linux

Updating my fork from terminal without updating parent

After going through other Q&As I couldn’t quite find the answer I was looking for. I’ve forked html5-boilerplate and have cloned it locally in Linux. I want to make changes locally then commit them to my fork without affecting or proposing changes to the original repository. Thank you in advance.

What's the easiest way to use the output paths from a git command in a subsequent git command?

I far too frequently use the mouse to do things like this: /home/me-$ git log –name-status -1 commit a10e63af1f4b1b2c28055fed55d4f2bb3225a541 Author: Me <me@me.com> Date: Tue Aug 18 13:04:04 2015 -0400 XYZ-376 make ctors public M x/y/z/Class1.java M x/y/z/Class2.java /home/me-$ git checkout — x/y/z/Class2.java # <– copy/paste with the mouse I know that some git commands accept […]

SSH.NET – An established connection was aborted by the software in your host machine

I’m using SSH.NET to connect and send commands to my Linux. Until yesterday it was SLES 12 and everything worked fine. Today I’ve upgraded it to SLES12 SP1 and when I’m trying to connect with server (through application with SSH.NET) I get exception – An established connection was aborted by the software in your host […]

Git – Windows AND linux line-endings

My main OS is windows 10. I have an Ubuntu 14.04 box running in Vagrant that I develop my applications on. The box is running SMB which gives me root file access to the Ubuntu server. On the Ubuntu server I have my application files in a GIT repo with a gitlab server as the […]

My compute engine VM isn't picking up the changes from my repository

I have a compute engine instance and the start-up script to it includes the following lines. # Get the application source code from the Google Cloud Repository. # git requires $HOME and it’s not set during the startup script. export HOME=/root git config –global credential.helper gcloud.sh git clone https://source.developers.google.com/p/$PROJECTID /opt/app This code tells the VM […]

Unacceptable TLS certificate- When trying to install the MonoDevelop Flat Pak

After installing FlatPak and following the instructions to install MonoDevelop here The Command I run is: sudo flatpak install –user –from https://download.mono-project.com/repo/monodevelop.flatpakref But the error I receive is: Can’t load uri https://download.mono-project.com/repo/monodevelop.flatpakref: Unacceptable TLS certificate Is this a problem with thier site that they need to fix? or is there something I can do on […]

Git branch and ls

I’m not sure if this is the right place to ask this, please redirect me if not. I’m new to git and while learning it I stumbled upon this. How does git branch branchName and ‘ls’ work with each other. For eg: If I have a master and test branch and test branch has an […]

Syncing website files between local and live servers using GIT?

Say I have two web servers, one local development and one live. Under SVN I would checkout the website files to my local webserver’s public_html directory and also to the live webserver’s public_html directory. I would then work on the files directly on the local server and commit any changes to the central repository. When […]

Why the file modes on OSX and Linux are different when cloning code with git

I cloned the same project from Github on my MacBook (Sierra) and Linux machine (Ubuntu 16.04), and I see the file mode on my MacBook is “-rw-r–r–“, but in my Linux machine, it is “-rw-rw–r–“. Is there a way to make them consistent? Thanks!

How to override command executor to a new version of Git under ~/bin my own against the old /usr/bin/git

I got a ssh account running on a shared hosting server without root permission, after I installed the latest stable Git release via git-scm.com by “make install”, the new command is successful install under my home directory which is ~/bin default automatically. However, this new version of git seems only function with specify full path, […]

Git Baby is a git and github fan, let's start git clone.