python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Find wrapped strings in a pre-push git hook
I am trying to go through the changes being made in a git push and find any instance of a wrapped string like so: ___('something to be translated') so that I can make some subsequent API calls with th...
Sharkboots
Votes: 0
Answers: 1
Git bash change into a directory and start a file
My default git bash starts on the C: drive and I often have to change into a project directory and start a file up.
Is there a way to cd into a directory and start a file all in one command using Git ...
kevinjaypatel
Votes: 0
Answers: 2
Change directory where git bash launches without shortcut or modifying $HOME
The company I work for has a code repository deep within a folder structure, the path of which I have saved in a text file. As I was copying that path from notepad++ and pasting it into a cd command f...
binaryBrandon
Votes: 0
Answers: 2
How to count number of tracked files in each sub-directory of the repository?
In a git repo, I want to list directories (and sub-directories) that contain tracked items and the number items (tracked files only) in each of them.
The following command gives list of directories:
$...
saastn
Votes: 0
Answers: 2