Questions tagged [git-shell]

A shell environment to the Git server which provide a SSH access. It has a command-line interface to execute commands on the server remotely.

A shell environment to the Git server which provide a SSH access. It has a command-line interface to execute commands on the server remotely. It's used to replace the default shell (like bash or csh) used by the system or in the user settings.

64 questions
0
votes
2 answers

Making git-shell interactive

I'm setting up a git server (on a RHEL 6 box). I have created the git user and set its shell to /usr/bin/git-shell I have created a directory git-shell-commands in the user's home (/home/git) and chmod it to 755. I downloaded the help and list…
Jistanidiot
  • 54,334
  • 4
  • 18
  • 29
-1
votes
1 answer

How do I get branch created timestamp with PHP?

I want to get created Git branch (hotfix / feature) timestamp with shell_exec. I tried below, shell_exec("git show --summary `git merge-base your_branch master`"); But it showing null. Does anyone know how to get it with php ?
Jaydeep Mor
  • 1,690
  • 3
  • 21
  • 39
-1
votes
1 answer

How to recover replaced files in local Git repository after pull request?

Originally on my Github are some outdated styles.css and JavaScript files and others. I was working on my project last night but didn't push it to Github or back it up. It was just saved in my local repository using a series of local, unpushed…
Roger
  • 83
  • 3
  • 9
-1
votes
1 answer

How to change head location to another folder?

My master branch is currently syncing with a local folder W:\folder2. I'd like my master branch to sync with local folder W:\folder1 instead. How can I do this? I was playing around, while learning, in GitShell with git worktree add
codr
  • 889
  • 3
  • 13
  • 22
1 2 3 4
5