Skip to content

Add ignored files and directories

Ralf Ren edited this page Mar 22, 2018 · 1 revision

Command

First, use cd command to change your current working directory to which you want to sync. Then use:

$ gekko camouflage [Path]

Alias:

$ gekko camo [Path]

Parameters

[Path]:Ignore items path relative to current working directory.

Example

This is a tree list of a directory:

gekko-test/
  | ignore.txt
  | README.md
  | upload.dir/
     | manage.py
     | app.py
  | ignore.dir/
     | ign_1.txt
     | ign_2.txt

You can use gekko camouflage ignore.txt and gekko camouflage ignore.dir to add these ignored items.
The file ignore.txt and the all contents of directory ignore.dir will be ignored when syncing.

Notice

This command will generate .gekkoign file in your home directory. Its content looks like this:

ignore.txt
ignore.dir