Skip to content

.gitignore #3

@szabgab

Description

@szabgab

After running some code I see this:

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    Example/coarse/seq1/output/Traj/Traj_seq1_0.3_333508.dat.bz2
	deleted:    Example/coarse/seq1/output/Traj/Traj_seq1_0.3_463782.dat.bz2
	deleted:    Example/coarse/seq2/output/Traj/Traj_seq2_0.3_269719.dat.bz2
	deleted:    Example/coarse/seq2/output/Traj/Traj_seq2_0.3_788090.dat.bz2
	deleted:    Example/coarse/seq3/output/Traj/Traj_seq3_0.3_813364.dat.bz2
	deleted:    Example/coarse/seq3/output/Traj/Traj_seq3_0.3_872208.dat.bz2
	modified:   scripts/simuAnalysis.py

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	Example/coarse/seq1/output/Traj/Traj_seq1_0.3_333508.dat
	Example/coarse/seq1/output/Traj/Traj_seq1_0.3_333508.pdb
	Example/coarse/seq1/output/Traj/Traj_seq1_0.3_463782.dat
	Example/coarse/seq1/output/Traj/Traj_seq1_0.3_463782.pdb
	Example/coarse/seq2/output/Traj/Traj_seq2_0.3_269719.dat
	Example/coarse/seq2/output/Traj/Traj_seq2_0.3_269719.pdb
	Example/coarse/seq2/output/Traj/Traj_seq2_0.3_788090.dat
	Example/coarse/seq2/output/Traj/Traj_seq2_0.3_788090.pdb
	Example/coarse/seq3/output/Traj/Traj_seq3_0.3_813364.dat
	Example/coarse/seq3/output/Traj/Traj_seq3_0.3_813364.pdb
	Example/coarse/seq3/output/Traj/Traj_seq3_0.3_872208.dat
	Example/coarse/seq3/output/Traj/Traj_seq3_0.3_872208.pdb
	newPathcoarse/

no changes added to commit (use "git add" and/or "git commit -a")

It would be probably better not to delete file while the program is running and put the name of the generated files in .gitignore so they won't show up in git status

Maybe like this:

*.dat
*.pdb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions