- Por medio de la terminal Bash (Windows es GitBash, MacOS es la terminal zsh o Bash) ir al directorio con el código.
- Inicializar repositorio
git init
- Por medio del IDE (Pycharm), crear archivo
.gitignore
en la raíz de nuestro proyecto. - Ir a https:gitignore.io, escribir 'Python' que es para la tecnología que ocupamos y copiamos el código generado.
- Regresar a nuestro IDE (Pycharm) y en el archivo
.gitignore
, pegar el texto, en las últimas líneas del código, quitarle el '#' a #.idea/ . - Regresar a la terminal y agregar nuestro archivos al repositorio local:
git add .
- Establecer la rama "main":
git branch -M main
- Hacer commit (preparar) a nuestro código:
git commit -am "Mensaje aquí relacionado con los cambios."
- Crear un nuevo repositorio en Github, una vez creado, cliquear en la botón "ssh" para que nos dé el enlace apropiado.
- En la terminal establecer branch (rama) remota copiando el enlace de la casilla "ssh" de la página de inicialización de tu repositorio en Github.
Ejemplo:git add remote origin [email protected]:julesc00/python_learning.git
- Hacer push (subir) de nuestros archivos. La primera vez en un repositorio nuevo es:
git push -u origin main
Las siguientes veces simplemente hacemos push con:git push origin main
python_learning's Introduction
python_learning's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.