cat .gitignore
:
...
*log
...
I wanted to ignore all .log
files, except now for cli.log
. How can I make this an exception?
Original Problem
"1 Pushed file isn't in remote repo, but all other files of same commit do | Git"
I have been successful at pushing changes to files... except cli.log
.
I have tried solutions here with no luck.
Terminal:
me@LAPTOP-G1DAPU88:~/.ssh/.../data_simulator$ git checkout simulate_data
Already on 'simulate_data'
Your branch is up to date with 'origin/simulate_data'.
me@LAPTOP-G1DAPU88:~/.ssh/.../data_simulator$ git pull
Already up to date.
me@LAPTOP-G1DAPU88:~/.ssh/.../data_simulator$ cd data
me@LAPTOP-G1DAPU88:~/.ssh/.../data_simulator/data$ ls
Citizenship.csv cli.log currency_symbols_map.json
me@LAPTOP-G1DAPU88:~/.ssh/.../data_simulator/data$
Git:
data_simulator/data:
Citizenship.csv
currency_symbols_map.json