Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check and exclude the private and checkout files for gitcc update #40

Open
hanjie0 opened this issue Mar 7, 2014 · 1 comment
Open

Comments

@hanjie0
Copy link

hanjie0 commented Mar 7, 2014

in gitcc update
cc_exec(['update', '.'], errors=False)
sync.main()
git_exec(['add', '.'])
git_exec(['commit', '-m', message])
reset.main('HEAD')

But I think here the following command should be run
cleartool lsco
cleartool lsprivate
And the results should be excluded for "git add" operation, right?

@charleso
Copy link
Owner

charleso commented Mar 7, 2014

Hi hanjie0,

Quite possibly. The update command was a quick hack written just to get someone started if gitcc rebase didn't work. Where I worked we didn't have private files so it wasn't so much of an issue.

Feel free to modify it to suit your needs. I haven't used git-cc in over 4 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants