Category "git"

cannot pull Git remote repository from Sourcetree

I Generated ssh keys and configured my git and SourceTree. I could git pull and do other operations from Git-bash. Note: I have added the following in .bashrc

How to make setuptools clone git dependencies recursively?

I want to let setuptools install Phoenix in my project and thus added setup( ... dependency_links = [ "git+https://github.com/wxWidgets/Phoenix

GitHub: repository not pushing the folder created with create-react-app

I want to initialise a repository with the following folder structure. main-folder |-- project_backend |-- project-frontend Just for reference, the backend

pycharm cannot find interpreter when cloning github of the same project between 2 computers

I coded on my labtop, push code to github. then clone it to my computer for the first time. ( environment are different of course) I did all my work on my comp

How to get access to the files stored on another repository in code

I want to get the access (read) files with text which located on another repository. Is it possible to do at all? We faced the problem of preserving the histor

Git tag name in Azure Devops Pipeline YAML

Summary How do I get the name of the current git tag in an Azure Devops Pipeline YAML-file? What Am I Trying to Do? I am setting up a build pipeline in Azure

In git, obtain commits using git log with path

I would like to obtain the last 10 commits using git log specifying the path of my repository. I used the option -path but I have "is outside repository" error

Why does HEAD in my worktree point to the top commit in master?

I created a worktree using git worktree add and it was working as expected for a few days. Today, I wanted to check out some code at the previous revision, so I

How do I set up my terminal on Mac to auto open Sublime Text Editor when using git commit command?

I am trying to set up git on my terminal, and need it to open up Sublime text when I use a git commit command, so that I can add a note to my commits. If I type

Fatal: 'heroku' does not appear to be a git repository

When I run git push heroku main, I'm getting this. To let you know that I this is my second project I'm trying to push to heroku. I already pushed a project fol

When file/folder is renamed, how to view the old name details in commit log/commit history?

In SourceTree, when a file is renamed then in commits it is displayed with the icon and the new name. But how do I find the old name in SourceTree? Here I chan

Conflicting revision error when sourcing from multiple git repositories in yocto

I want to fetch from two git repositories in yocto, but I get an "conflicting revisions error. The code I use is like this: SRC_URI_append = " git:///home/proje

adding patch and another git source does not work in yocto

I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I g

GIT get first tag per file in current state

To compare individual files between many releases, I want to keep track of the first release where a file has changed, per file. I want to log the first tag for

jenkins trigger build if new tag is released

I want to configure jenkins so that it starts building if a new tag is released in any branch of an git repository. How do I configure this behaviour? Triggeri

Why can't Git resolve remote branches when --single-branch is used?

So, we frequently optimize clones by effectively cloning with --single-branch. However, we are then unable to get additional branches later. What is the differe

ssh with 2 accounts in gitlab doesn't work

I'm trying to add 2 ssh keys in my pc to work with 2 gitlab accounts, I created 2 pair of keys and made this "config" file: # Compte Perso Host gitlab.com-perso

Always pull using HTTPS, push using SSH, using insteadOf?

I have a number of repositories using different Github URL formats. I would like all repositories to always fetch from Github over HTTPS, and to push over SSH.

Unknown revision or path not in the the working tree error for first push to empty remote

I have a local git repo with many commits. I created an empty repo in github (not initialized with any files). $ git remote add origin https://github.com/bar/f

How can I get git log to print the full hash and short stats of each commit on one line?

I would like to get this kind of output with git command line: bcfd649de8850e3bfc9584eb12be8fe136ca6985 3 files changed, 8 insertions(+), 1 deletion(-) I'm c