#GIT
- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
| import React, { useState } from 'react'; | |
| import { | |
| StyleSheet, | |
| Text, | |
| View, | |
| ScrollView, | |
| TouchableOpacity, | |
| Image, | |
| ActivityIndicator, | |
| Dimensions, |
| require 'capistrano-db-tasks' | |
| # config valid only for current version of Capistrano | |
| lock '3.7.1' | |
| # Change these | |
| server 'myproject.com', port: 54321, roles: [:web, :app, :db], primary: true | |
| set :repo_url, '[email protected]:steven_chanin/myproject.git' | |
| set :application, 'myproject' |
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
| <Comandos GIT> | |
| [Repositório] | |
| git –bare init | |
| Cria um repositório git para acesso remoto | |
| [ Commits ] | |
| git add -A | |
| // Adiciona todas as alterações, inclusive arquivos novos, para commit |